package com.yongninger.vo;

import java.io.Serializable;
/**
 * 
 * @author alex.duan
 *	产品资料--> talbe  product_info
 */
public class ProductVo implements Serializable {
	private static final long serialVersionUID = 4107739143577833839L;
	/**
	 * 主键ID
	 */
	private int pid;
	/**
	 * 产品编码
	 */
	private String pcode;
	/**
	 * 产品名称
	 */
	private String pname;
	/**
	 * 大类
	 */
	private String pcategory;
	/**
	 * 型号规格
	 */
	private String ptype;
	/**
	 * 主计量单位
	 */
	private String smeasure1;
	/**
	 * 辅助计量单位
	 */
	private String smeasure2;
	/**
	 * 单价
	 */
	private String pprice;
	
	public ProductVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ProductVo(int pid, String pcode, String pname, String pcategory,
			String ptype, String smeasure1, String smeasure2, String pprice) {
		super();
		this.pid = pid;
		this.pcode = pcode;
		this.pname = pname;
		this.pcategory = pcategory;
		this.ptype = ptype;
		this.smeasure1 = smeasure1;
		this.smeasure2 = smeasure2;
		this.pprice = pprice;
	}
	/**
	 * @return the pid
	 */
	public int getPid() {
		return pid;
	}
	/**
	 * @param pid the pid to set
	 */
	public void setPid(int pid) {
		this.pid = pid;
	}
	/**
	 * @return the pcode
	 */
	public String getPcode() {
		return pcode;
	}
	/**
	 * @param pcode the pcode to set
	 */
	public void setPcode(String pcode) {
		this.pcode = pcode;
	}
	/**
	 * @return the pname
	 */
	public String getPname() {
		return pname;
	}
	/**
	 * @param pname the pname to set
	 */
	public void setPname(String pname) {
		this.pname = pname;
	}
	/**
	 * @return the pcategory
	 */
	public String getPcategory() {
		return pcategory;
	}
	/**
	 * @param pcategory the pcategory to set
	 */
	public void setPcategory(String pcategory) {
		this.pcategory = pcategory;
	}
	/**
	 * @return the ptype
	 */
	public String getPtype() {
		return ptype;
	}
	/**
	 * @param ptype the ptype to set
	 */
	public void setPtype(String ptype) {
		this.ptype = ptype;
	}
	/**
	 * @return the smeasure1
	 */
	public String getSmeasure1() {
		return smeasure1;
	}
	/**
	 * @param smeasure1 the smeasure1 to set
	 */
	public void setSmeasure1(String smeasure1) {
		this.smeasure1 = smeasure1;
	}
	/**
	 * @return the smeasure2
	 */
	public String getSmeasure2() {
		return smeasure2;
	}
	/**
	 * @param smeasure2 the smeasure2 to set
	 */
	public void setSmeasure2(String smeasure2) {
		this.smeasure2 = smeasure2;
	}
	/**
	 * @return the pprice
	 */
	public String getPprice() {
		return pprice;
	}
	/**
	 * @param pprice the pprice to set
	 */
	public void setPprice(String pprice) {
		this.pprice = pprice;
	}
}
